#!/bin/bash

source /etc/profile

killall lcd4linux
killall irexec
rm -f /tmp/pertd2.fifo
rm -f /tmp/irexec.fifo

mkfifo /tmp/irexec.fifo

sleep 1

/home/nslu2/apps/menu/pertd2
screen -dmS irexec irexec /home/nslu2/apps/menu/lirc.config
screen -dmS menu php /home/nslu2/apps/menu/menu.php

exit 0
